$OpenBSD: patch-Source_cmInstallCommand_cxx,v 1.8 2014/12/31 11:06:02 dcoppa Exp $
--- Source/cmInstallCommand.cxx.orig	Mon Dec 15 14:07:43 2014
+++ Source/cmInstallCommand.cxx	Thu Dec 18 05:37:12 2014
@@ -344,6 +344,9 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<s
 
   // Select the mode for installing symlinks to versioned shared libraries.
   cmInstallTargetGenerator::NamelinkModeType
+  // Do not install symlinks to versioned shared libraries on OpenBSD.
+  // Use NamelinkModeSkip unconditionally.
+#if !defined(__OpenBSD__)
     namelinkMode = cmInstallTargetGenerator::NamelinkModeNone;
   if(libraryArgs.GetNamelinkOnly())
     {
@@ -353,6 +356,9 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<s
     {
     namelinkMode = cmInstallTargetGenerator::NamelinkModeSkip;
     }
+#else
+  namelinkMode = cmInstallTargetGenerator::NamelinkModeSkip;
+#endif
 
   // Check if there is something to do.
   if(targetList.GetVector().empty())
